package com.mathset.presentation.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class HomeController {

	@RequestMapping(value="/", method=RequestMethod.GET)
	public ModelAndView directToHomePage() {
		return new ModelAndView("home/home");
	}
	
	@RequestMapping(value="/home", method=RequestMethod.GET)
	public ModelAndView displayHome() {
		return new ModelAndView("home/home");
	}
}
